package com.woniu.user.service;


import com.woniu.common.ResponseData;
import com.woniu.common.dto.UserDTO;
import com.woniu.common.dto.UserRoleDTO;
import com.woniu.user.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;



/**
* @author hasee
* @description 针对表【user】的数据库操作Service
* @createDate 2025-01-05 13:53:36
*/
public interface UserService extends IService<User> {

    ResponseData<?> phoneLogin(UserDTO userDTO);

    ResponseData<?> getCode(String phoneNum);

    ResponseData<?> register(UserDTO userDTO);

    ResponseData<?> codeLogin(UserDTO userDTO);
    ResponseData<?> registerApp(UserDTO userDTO);

    ResponseData<?> changePassword(UserDTO userDTO);

    ResponseData<?> init();

    ResponseData<?> checkUser(UserDTO userDTO);

    ResponseData<?> queryAllUserRole();

    ResponseData<?> updateUserRole(UserRoleDTO userDTO);
}
